<?php include("libs/views/head.php");?>
<body>
	<div class="title">Joaqu&iacute;n Corchero</div>
	<div class="subtitle">Intranet</div>
	<div id="contenedor">
		<div id="formulario">
			<form class="form-4" action="index.php?controlador=portada&accion=iniciarSesion" method="post">
    			<p>
        			<label for="login">Usuario:</label>
        			<input type="text" name="login" placeholder="Usuario" required>
    			</p>
    			<p>
        			<label for="clave">Contrase&ntilde;a:</label>
        			<input type="password" name='clave' placeholder="Contrase&ntilde;a" required> 
    			</p>
    			<p>
        			<input type="submit" name="submit" value="Iniciar sesi&oacute;n">
    				</p>       
			</form>
			<?php if ($error) {?>
			<div class="error">
				<p>
					Identificaci&oacute;n incorrecta.
			    </p>
			</div>		
			<?php }?>			
		</div>
	</div>
</body>
